﻿/***************************************************************************************************
 * 
 * Copyright (c) 2011 End2End Business Solutions, Inc.
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 
 * associated documentation files (the "Software"), to deal in the Software without restriction, 
 * including without limitation the rights to use, copy, modify, merge, publish, distribute, 
 * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is 
 * furnished to do so, subject to the following conditions:
 * 
 * The above copyright notice and this permission notice shall be included in all copies or 
 * substantial portions of the Software.
 * 
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING 
 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, 
 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 * 
***************************************************************************************************/

using Chameleon;
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

[assembly: CLSCompliant(true)]
[assembly: InternalsVisibleTo("Chameleon.Core.Testing")]
[assembly: AssemblyTitle("Chameleon.Core")]
[assembly: AssemblyDescription("Chameleon Core Library")]
[assembly: AssemblyConfiguration(AssemblyInfo.Configuration)]
[assembly: AssemblyCompany(AssemblyInfo.Company)]
[assembly: AssemblyProduct("Chameleon.Core")]
[assembly: AssemblyCopyright(AssemblyInfo.Copyright)]
[assembly: AssemblyTrademark(AssemblyInfo.Trademark)]
[assembly: AssemblyCulture("")]
[assembly: ComVisible(false)]
[assembly: Guid("6e622caa-a536-4bb7-b2aa-4512c75f7f5d")]
[assembly: AssemblyVersion(AssemblyInfo.Version)]

namespace Chameleon
{
	/// <summary>
	/// Static type for assembly informational constants.
	/// </summary>
	
	public static class AssemblyInfo
	{
		/// <summary>
		/// Current major and minor version number of the project.
		/// <para>Minor version number should be increased with each release.</para>
		/// </summary>
		/// <remarks>
		/// The entire solution gets its major and minor version from this value. Build and revision are auto-incremented.
		/// </remarks>
		
		public const string Version = "1.0.*";


		/// <summary>
		/// Company name constant for assembly attributes.
		/// </summary>
		
		public const string Company = "End2End Business Solutions, Inc.";


		/// <summary>
		/// Copyright notice constant for assembly attributes.
		/// </summary>
		
		public const string Copyright = "Copyright 2011 End2End Business Solutions, Inc.";


		/// <summary>
		/// Assembly trademark constant for assembly attributes.
		/// </summary>

		public const string Trademark = "Chameleon and the Chameleon Logo are Trademarks of End2End Business Solutions, Inc.";


		/// <summary>
		/// Compiler configuration constant for assembly attributes.
		/// </summary>
		
		#if DEBUG
			public const string Configuration = "Debug";
		#else
			public const string Configuration = "Release";
		#endif


		/// <summary>
		/// Chameleon project URI.
		/// </summary>

		public const string ChameleonUri = "http://chameleon.codeplex.com";


		/// <summary>
		/// Company website URI.
		/// </summary>

		public const string CompanyUri = "http://www.e2ebsi.com";


		/// <summary>
		/// Returns the current runtime assembly version.
		/// </summary>

		public static string CurrentVersion()
		{
			return typeof(AssemblyInfo).Assembly.GetName().Version.ToString();
		}
	}
}